package com.ruoyi.community.controller.wxApi;


import com.ruoyi.common.core.domain.entity.SysDictData;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@CrossOrigin(origins = "*", maxAge = 3600)
@RestController
@RequestMapping("/wx/text")
@Api(tags = {"测试"})
public class TextContrlller {
    @Value("${host.url}")
    private String hotsUrl;
    @ApiOperation(value = "测试")
    @GetMapping("/list")
    public String list()
    {
        System.out.println(hotsUrl);
        return hotsUrl;
    }
}
